using System;

namespace InfoJetSoft.Service.Util
{
	/// <summary>
	/// Summary description for FormatUtil.
	/// </summary>
	public class FormatUtil
	{
		public static string formatDateTimeZ( string dtValue ){
			string dateTimeZ = ConfigUtil.GetSetting( "InfoJetSoft.Service.DateTimeZ" );
			if( dateTimeZ == null ){
				dateTimeZ = "false";
			}
			if( dateTimeZ.ToLower().Equals( "true" ) ){
				dtValue = dtValue + "Z";
			}
			return dtValue;
		}
	}
}
